#ifndef CLABEL_H_
#define CLABEL_H_

#include "cdefaultfocusdynamicguiobject.h"
#include "cdefaultkeydowndynamicguiobject.h"
#include "cdefaultonadddynamicguiobject.h"

/**
 * CLabel - class representing text label
 * @author Michal Rost
 * @date 31.05.2008
 */
class CLabel : public CDefaultFocusDynamicGuiObject,
  public CDefaultOnAddDynamicGuiObject, public CDefaultKeyDownDynamicGuiObject {
public:
  CLabel(string text = "");
  string getText() const;
  void setText(string text);
  static string getClassName() {
    return "CLabel";
  }
protected:
  string text;
  void drawSelf(CGuiRenderer* rendererPtr);
};

#endif
